how to split and merge the cells in table